﻿using Abp.Runtime.Validation;
using Camc.Quality.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.TrepanningManager.CollectBomDto
{
   public class CollectBomManagerEditDto : PagedAndSortedInputDto, IShouldNormalize
    {
        /// <summary>
        /// 型号
        /// </summary>
        public Guid ModuleId { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public Guid SendTimeId { get; set; }
        /// <summary>
        /// 芯级名称
        /// </summary>
        public string XJName { get; set; }
        /// <summary>
        /// 芯级Id
        /// </summary>
        public Guid XJId { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
